PAddPrinterStyle

Saves the current print settings as a printer style of the given name.


Command constructor

PAddPrinterStyle(const char * sPrinterStyle);
Name of printer style to create (maximum of 31 characters).
Commands that comprise a printer style. To create a printer style, set all the print options as needed and then save them using this command. The commands that set print options saved in a style are:

PPrintColor
PPrintDoc (range set to all pages)
PPrintFeature
PPrintOptions or PPrintOptionsPS
PPrintPaperPS
PPrintTo

Example. The following example sets various print settings and saves them as the printer style LJet Color Seps Letter.

PPrintColor(1, 0, 0, 1, 1, 0, "60 lpi / 300 dpi");
PPrintDoc(1, 1, 0, 0, "", 0, 0, 0, 0, 0, 0);
PPrintOptionsPS(normalimage, on, on, normal, off, off, on, off, off
PPrintPaperps("Letter", "Paper Tray", -2, -2, -2, -2, -2, 0, 0, -2, 0, 1000, 0);
PPrintTo("HP LaserJet IIISi PostScript v52.3", "HP LaserJet IIISi PostScript on LPT1");
PAddPrinterStyle("LJet Color Seps Letter");


See also

The PPrinterStyle and PRemovePrinterStyle commands

The PGetPrintColor, PGetPrintDoc, PGetPrinterList, PGetPrinterStyles, PGetPrintFeatureItems, PGetPrintFeatureTitles, PGetPrintOptionsPS, PGetPrintPaperPS, PGetPrintPPDs, PGetPrintPS, PGetPrintScreens, and PGetPrintTo queries

Adobe PageMaker 6.5 Help > Commands > File > Printer Styles


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support